<?php

class ViewYeti{

    private $loadedLib = Array();
    
    final protected function loadLib($lib, $overload = FALSE) {
        if(!self::$loadedLib[$lib] || $overload) {
            self::$loadedLib[$lib] = Yeti::factory("lib.{$lib}", 'view');
        }
        
        return self::$loadedLib[$lib];
    }
}
